package flash.utils {

	/**
	 * Compares the natural sort order of two strings and returns the result of the comparison as an integer. This method is case-sensitive.
	 * @param a first string
	 * @param b second string
	 * 
	 * @return The value 0 if the strings are equal. Otherwise, a negative integer if the original string precedes the string argument and a positive integer if the string argument precedes the original string.   
	*/
	public function natCompare(a:String, b:String):int {
		return natCaseCompare(a, b, false);
	}

}
